package com.xmh.factorydemo.service.impl;

import com.xmh.factorydemo.service.UserService;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

@Service
public class SuperVipPayServiceImpl implements UserService {

    @Override
    public BigDecimal quote(BigDecimal orderPrice) {
        return orderPrice.multiply(new BigDecimal("0.7"));
    }

}
